package com.htu.courseService.myCourse.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.htu.courseService.courseManage.entity.Courses;
import com.htu.courseService.myCourse.entity.UserCourses;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MyCoursesMapper extends BaseMapper<UserCourses> {
    IPage<Courses> getMyCoursePage(IPage<Courses> page, @Param("userId") Long id,
                                       @Param("courseType") String courseType);
}
